<?php

declare(strict_types=1);

namespace App\Robot\Crontab;

use App\CustHub\Service\ActiveAddFriendService;
use App\CustHub\Service\ChChannelCodeService;
use App\CustHub\Service\ChRoomCodeService;

/**
 * 每日0点重置数据
 */
class ResetHelloTimeCrontab
{
    public function execute(): string
    {
        //未上线
        //container()->get(ActiveAddFriendService::class)->reset();
        container()->get(ChChannelCodeService::class)->reset();
        container()->get(ChRoomCodeService::class)->reset();
        return 'successfully';
    }
}